package com.qqtech.qquan.user.model;


import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.frame.model.BaseDomain;

@SuppressWarnings("serial")
public class UserVerifycode extends BaseDomain{

	//columns START
    /** 验证码 */
	private java.lang.String code;
    /** 验证码分发渠道:1-手机;2-email */
	private java.lang.Integer channel;
    /** 分发验证码的手机或email的id */
	private java.lang.String channelId;
    /** 验证码类型:1-注册;2-登陆;3-更换手机号或email */
	private java.lang.Integer type;
    /** 是否已验证:1-是;2-否 */
	private java.lang.Integer isVerify;
    /** 验证码失效时间 */
	private java.sql.Timestamp expireAt;
	//columns END
	public UserVerifycode(){
	}

	public UserVerifycode( java.lang.Integer id ){
		this.id = id;
	}

	public void setCode(java.lang.String code) {
		this.code = code;
	}

	public java.lang.String getCode() {
		return this.code;
	}
	
	public void setChannel(java.lang.Integer channel) {
		this.channel = channel;
	}

	public java.lang.Integer getChannel() {
		return this.channel;
	}
	
	public void setChannelId(java.lang.String channelId) {
		this.channelId = channelId;
	}

	public java.lang.String getChannelId() {
		return this.channelId;
	}
	
	public void setType(java.lang.Integer type) {
		this.type = type;
	}

	public java.lang.Integer getType() {
		return this.type;
	}
	
	public void setIsVerify(java.lang.Integer isVerify) {
		this.isVerify = isVerify;
	}

	public java.lang.Integer getIsVerify() {
		return this.isVerify;
	}
	
	public void setExpireAt(java.sql.Timestamp expireAt) {
		this.expireAt = expireAt;
	}

	public java.sql.Timestamp getExpireAt() {
		return this.expireAt;
	}
	

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}

